package com.smile.service;

import com.smile.model.dto.request.GetMenusByModuleTypeRequest;
import com.smile.model.response.response.GetMenusByRoleIdResponseDTO;
import com.smile.model.response.response.ShowMenuListResponseDto;

import java.util.List;

public interface MenuService {

    List<ShowMenuListResponseDto> getMenuList();

    List<GetMenusByRoleIdResponseDTO> getMenusByRoleId(Long id);

    List<ShowMenuListResponseDto> getMenuListAll();

    List<ShowMenuListResponseDto> getMenusByModuleType(GetMenusByModuleTypeRequest request);

    List<ShowMenuListResponseDto> getMenusByModuleTypeAll();

    List<Integer> getModules();

    /**
     * 获取用户权限列表（权限字符串）
     */
    List<ShowMenuListResponseDto> permissions(GetMenusByModuleTypeRequest request);


}
